package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 场地信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-04-04 12:56:28
 */
@TableName("changdixinxi")
public class ChangdixinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public ChangdixinxiEntity() {
		
	}
	
	public ChangdixinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 场地编号
	 */
					
	private String changdibianhao;
	
	/**
	 * 场地名称
	 */
					
	private String changdimingcheng;
	
	/**
	 * 场地图片
	 */
					
	private String changditupian;
	
	/**
	 * 场地类型
	 */
					
	private String changdileixing;
	
	/**
	 * 场地介绍
	 */
					
	private String changdijieshao;
	
	/**
	 * 可用时间
	 */
					
	private String keyongshijian;
	
	/**
	 * 规章制度
	 */
					
	private String guizhangzhidu;
	
	/**
	 * 场地状态
	 */
					
	private String changdizhuangtai;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：场地编号
	 */
	public void setChangdibianhao(String changdibianhao) {
		this.changdibianhao = changdibianhao;
	}
	/**
	 * 获取：场地编号
	 */
	public String getChangdibianhao() {
		return changdibianhao;
	}
	/**
	 * 设置：场地名称
	 */
	public void setChangdimingcheng(String changdimingcheng) {
		this.changdimingcheng = changdimingcheng;
	}
	/**
	 * 获取：场地名称
	 */
	public String getChangdimingcheng() {
		return changdimingcheng;
	}
	/**
	 * 设置：场地图片
	 */
	public void setChangditupian(String changditupian) {
		this.changditupian = changditupian;
	}
	/**
	 * 获取：场地图片
	 */
	public String getChangditupian() {
		return changditupian;
	}
	/**
	 * 设置：场地类型
	 */
	public void setChangdileixing(String changdileixing) {
		this.changdileixing = changdileixing;
	}
	/**
	 * 获取：场地类型
	 */
	public String getChangdileixing() {
		return changdileixing;
	}
	/**
	 * 设置：场地介绍
	 */
	public void setChangdijieshao(String changdijieshao) {
		this.changdijieshao = changdijieshao;
	}
	/**
	 * 获取：场地介绍
	 */
	public String getChangdijieshao() {
		return changdijieshao;
	}
	/**
	 * 设置：可用时间
	 */
	public void setKeyongshijian(String keyongshijian) {
		this.keyongshijian = keyongshijian;
	}
	/**
	 * 获取：可用时间
	 */
	public String getKeyongshijian() {
		return keyongshijian;
	}
	/**
	 * 设置：规章制度
	 */
	public void setGuizhangzhidu(String guizhangzhidu) {
		this.guizhangzhidu = guizhangzhidu;
	}
	/**
	 * 获取：规章制度
	 */
	public String getGuizhangzhidu() {
		return guizhangzhidu;
	}
	/**
	 * 设置：场地状态
	 */
	public void setChangdizhuangtai(String changdizhuangtai) {
		this.changdizhuangtai = changdizhuangtai;
	}
	/**
	 * 获取：场地状态
	 */
	public String getChangdizhuangtai() {
		return changdizhuangtai;
	}

}
